<?
namespace Api\Controller
use Think\Controller:
/**
* 
*/
class TrainingController extends Controller
{
	
public function traininglist(){
	$tid=$_GET['training_id'];
	$trainingModel=M('training_id');
	$training=$trainingModel->where("training='$tid'")->selcet();
	echo json_enchode($training)
}
}
	



?>